package cn.wetcland.urban.common.pojo;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@NoArgsConstructor
@Data
public class InputTipsPOJO {

    @JsonProperty("tips")
    private List<TipsDTO> tips;
    @JsonProperty("status")
    private String status;
    @JsonProperty("info")
    private String info;
    @JsonProperty("infocode")
    private String infocode;
    @JsonProperty("count")
    private String count;

    @NoArgsConstructor
    @Data
    public static class TipsDTO {
        @JsonProperty("id")
        private String id;
        @JsonProperty("name")
        private String name;
        @JsonProperty("district")
        private String district;
        @JsonProperty("adcode")
        private String adcode;
        @JsonProperty("location")
        private String location;
        @JsonProperty("address")
        private String address;
        @JsonProperty("typecode")
        private String typecode;
        @JsonProperty("city")
        private List<?> city;
    }
}
